//
//  RegisterViewController.m
//  Codingke2016
//
//  Created by xujiangtao on 16/6/1.
//  Copyright © 2016年 xujiangtao. All rights reserved.
//

#import "RegisterViewController.h"

@interface RegisterViewController ()

@end

@implementation RegisterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initInteface];
}
#pragma mark- initInteface
- (void)initInteface{
    self.title = @"注册";
    self.view.backgroundColor = [UIColor whiteColor];
    
    UIImage* backImage = [[UIImage imageNamed:@"img_nav_back_btn"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    UIBarButtonItem* backBarButtonItem = [[UIBarButtonItem alloc] initWithImage:backImage style:UIBarButtonItemStylePlain target:self action:@selector(clickBackButton)];
    self.navigationItem.leftBarButtonItem = backBarButtonItem;
}
#pragma mark- Click Event
- (void)clickBackButton{
    [self.navigationController popViewControllerAnimated:YES];
}
#pragma mark-
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
